package com.examsage.examsage.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author examsage
 * @since 2025-07-02
 */
@Getter
@Setter
@TableName("exam_venue")
public class ExamVenue implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 自增主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 唯一标识
     */
    @TableField("venue_code")
    private String venueCode;

    /**
     * 考点全称
     */
    @TableField("venue_name")
    private String venueName;

    /**
     * 详细地址
     */
    @TableField("address")
    private String address;

    /**
     * 如 北京市
     */
    @TableField("city")
    private String city;

    /**
     * 可容纳考生数
     */
    @TableField("capacity")
    private Integer capacity;

    /**
     * 考点负责人
     */
    @TableField("contact_person")
    private String contactPerson;

    /**
     * 联系电话
     */
    @TableField("contact_phone")
    private String contactPhone;

    /**
     * 1: 启用，0: 禁用
     */
    @TableField("status")
    private Boolean status;

    /**
     * 自动生成
     */
    @TableField("gmt_create")
    private LocalDateTime gmtCreate;

    /**
     * 自动更新
     */
    @TableField("gmt_modified")
    private LocalDateTime gmtModified;
}
